package cn.org.timespace.ons.service.policy;

import java.util.List;

import cn.org.timespace.ons.action.base.MomModel;
import cn.org.timespace.ons.action.policy.DataContentsModel;
import cn.org.timespace.ons.util.pager.Pager;
import cn.org.timespace.ons.vo.base.DataContents;
import cn.org.timespace.ons.vo.base.Mom;
import cn.org.timespace.ons.vo.base.Options;

public interface DataContentsService {
public List<DataContents> findByCondition(DataContentsModel model);
	
	public List<Object> findByCondition(DataContentsModel model,String userName,Pager p);
	
	public List<Object> findByConditionAp(DataContentsModel model,String userName,Pager p);
	
	public DataContents findById(java.lang.String id) ;
	
	public void update(DataContents instance);
	
	public void save(DataContents instance) ;

	public void delete(DataContents instance) ;
	
}
